#! /bin/sh

# read config file
. ./config.txt

# git settings -> test pass
if [ "${SSH_KEY}" = "true" ]; then
  cd shell/ && sh ./git-settings.sh && cd ..
fi

# install oh-my-tmux -> test pass
if [ "${OH_MY_TMUX}" = "true" ]; then
  cd shell/ && sh ./oh-my-tmux.sh && cd ..
fi

# install oh-my-bash -> test pass
if [ "${OH_MY_BASH}" = "true" ]; then
  cd shell/ && sh ./oh-my-bash.sh && cd ..
fi

# install oh-my-zsh -> test pass
if [ "${OH_MY_ZSH}" = "true" ]; then
  cd shell/ && sh ./oh-my-zsh.sh && cd ..
fi

# install oh-my-fish -> test pass
if [ "${OH_MY_FISH}" = "true" ]; then
  cd shell/ && sh ./oh-my-fish.sh && cd ..
fi

# install oh-my-fish -> test pass
if [ "${OH_MY_POSH}" = "true" ]; then
  cd shell/ && sh ./oh-my-posh.sh && cd ..
fi

# install Homebrew -> test pass
if [ "${HOMEBREW}" = "true" ]; then
  cd shell/ && sh ./homebrew.sh && cd ..
fi

# cd shell/ && sh ./dotfiles-settings.sh  && cd ..


